package com.dces.jx.billtest.copGNoAndEmsNo.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
 * generated by Generate 神码
 * 
 *
 * @author xdoV2.0
 * @date: 2021-9-15
 */
@Setter
@Getter
@Table(name = "t_ems_cus_exg_cur")
public class EmsCusExgCur implements Serializable {
    private static final long serialVersionUID = 1L;
	/**
     * SID
     */
	@Column(name = "sid")
	private  String sid;
	/**
     * 序号
     */
	@Column(name = "g_no")
	@JsonProperty("gNo")
	private  Integer gNo;
	/**
     * 料号
     */
	@Column(name = "cop_g_no")
	private  String copGNo;
	/**
     * 经营单位编码
     */
	@Column(name = "trade_code")
	private  String tradeCode;
	/**
     * 账册编号
     */
	@Column(name = "ems_no")
	private  String emsNo;
	/**
     * 批准最大余数量
     */
	@Column(name = "appr_max_surp_qty")
	private  BigDecimal apprMaxSurpQty;
	/**
     * 变更批准日期
     */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@Column(name = "chg_appr_time")
	private  Date chgApprTime;
	/**
     * 主料标志
     */
	@Column(name = "class_mark")
	private  String classMark;
	/**
     * 商品编码
     */
	@Column(name = "code_t_s")
	private  String codeTS;
	/**
     * 磋商标志
     */
	@Column(name = "consume_discuss_flag")
	private  String consumeDiscussFlag;
	/**
     * 单耗质疑标志
     */
	@Column(name = "consume_que_flag")
	private  String consumeQueFlag;
	/**
     * 企业内部编号
     */
	@Column(name = "cop_ems_no")
	private  String copEmsNo;
	/**
     * 币制
     */
	@Column(name = "curr")
	private  String curr;
	/**
     * 海关执行标志
     */
	@Column(name = "cus_exe_mark")
	private  String cusExeMark;
	/**
     * 申报单价
     */
	@Column(name = "dec_price")
	private  BigDecimal decPrice;
	/**
     * 征免方式
     */
	@Column(name = "duty_mode")
	private  String dutyMode;
	/**
     * 企业执行标志
     */
	@Column(name = "etps_exe_mark")
	private  String etpsExeMark;
	/**
     * 商品名称
     */
	@Column(name = "g_name")
	@JsonProperty("gName")
	private  String gName;
	/**
     * 规格型号
     */
	@Column(name = "g_model")
	@JsonProperty("gModel")
	private  String gModel;
	/**
     * 期初数量
     */
	@Column(name = "initial_qty")
	private  BigDecimal initialQty;
	/**
     * 插入时间
     */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@Column(name = "insert_time")
	private  Date insertTime;
	/**
     * 插入人
     */
	@Column(name = "insert_user")
	private  String insertUser;
	/**
     * 修改标志
     */
	@Column(name = "modify_mark")
	private  String modifyMark;
	/**
     * 报文控制标志
     */
	@Column(name = "msg_dec_mark")
	private  Integer msgDecMark;
	/**
     * 备注
     */
	@Column(name = "note")
	private  String note;
	/**
     * 备案批准日期
     */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@Column(name = "putrec_appr_time")
	private  Date putrecApprTime;
	/**
     * 申报数量
     */
	@Column(name = "qty")
	private  BigDecimal qty;
	/**
     * 数量控制标志
     */
	@Column(name = "qty_ctrl_flag")
	private  String qtyCtrlFlag;
	/**
     * 申报计量单位
     */
	@Column(name = "unit")
	private  String unit;
	/**
     * 法定计量单位
     */
	@Column(name = "unit_1")
	private  String unit1;
	/**
     * 第二计量单位
     */
	@Column(name = "unit_2")
	private  String unit2;
	/**
     * 修改日期
     */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@Column(name = "update_time")
	private  Date updateTime;
	/**
     * 修改人
     */
	@Column(name = "update_user")
	private  String updateUser;
	/**
     * 时间戳
     */
	@Column(name = "time_stamp")
	private  Integer timeStamp;
}
